<div  th:fragment="foot">
    <div class="copyright" id="copyrightFoot">

    </div>
    <script>
        let date = new Date();
        let copyrightFoot = document.getElementById("copyrightFoot");
        let year = date.getFullYear();
        copyrightFoot.innerHTML = ` © 2022 - ${year} <a href="https://wenhaha.cn" target="_blank">Wyndem</a> All Rights Reserved.`
    </script>

</div>